package Lab01;

/**
 * Created by dell on 2017/10/15.
 */
public class Test11 {
    public static void main(String[] args) {
        boolean a =false;
        int i=0;
        int j;
        for(j=2;j<=100;j++){
          if(j%2!=0&&j%3!=0&&j%5!=0&&j%7!=0) System.out.println(j);
            i++;
            if(i%5==0){
                System.out.println('\n');
            }
        }
    }
}
